/**
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to marcus@lateralminds.com.au so I can send you a copy immediately.
 *
 * @copyright  Copyright (c) 2008 Lateral Minds (http://www.lateralminds.com.au)
 * @version    $Id$
 * @license    New BSD License
 */

package com.lateralminds.alfresco.caas.services;

import java.util.List;

import org.alfresco.service.cmr.repository.NodeRef;

public interface KeywordExtractor
{
    /**
     * Get a list of keyword phrases for a given nodeRef
     * @param nodeRef
     * @return
     */
    public List<String> getKeywords(NodeRef nodeRef) throws Throwable;
    
    /**
     * Get a list of keywords for some given content
     * 
     * @param content
     * @return
     */
    public List<String> getKeywords(String content, String encoding) throws Throwable;
}
